<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<script type="text/javascript">
		var value = "";
		var valueOne = "";

		var array = [ [ 13, 30, 4, 500, 6 ], [ 200, 209, 901, 2, 300 ],
				[ 156, 712, 345, 25, 251 ], [ 9, 11, 29, 73, 101 ],
				[ 55, 71, 82, 93, 19 ] ];

		for (var x = 0; x < array.length; x++) {
			for (var y = 0; y < array.length; y++) {
				if (x == y) {
					alert(array[x][y] + "    ")

				}
				if (x + y == 4) {
					alert(array[x][y] + "    ")
				}
			}
		}
	</script>

</body>
</html>